#include"Sir.h"
Sir::Sir()
{
    char q[100],i=0,l;
    ifstream sf;
    sf.open("sir.txt",ios::in);
    sf >> q;
    l=0;
    while(q[l]!='\0') l++;
    this->sir[i]=date[l-1];
    i++;
    while (!sf.eof( ))
    {
         sf >> q;
        l=0;
        while(data[l]!='\0') l++;
        this->sir[i]=q[l-1];
         i++;
    }
    this->sir[i]='\0';
    sf.close();

}

ostream &operator<<(ostream &fl, Sir &obiect)
{
    fl<<obiect.sir;
    return fl;
}
